package org.zuel.lkq.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description:
 * @Author: Gongjc
 * @Date: 2021/2/1
 * @Version: 1.0.0
 */
//@Getter
//@AllArgsConstructor
public enum LoginType {

    /**
     * 账号密码登录
     */
    USER_PASSWORD("user_password_realm"),
    /**
     * 手机验证码登录
     */
    USER_PHONE("user_phone_realm"),
    /**
     * 第三方登录(微信小程序登录)
     */
    WXMINI_LOGIN("wxmini_login_realm");

    private String type;

    private LoginType(String type) {
        this.type = type;
    }

    public String getType() {
        return type.toString();
    }

    @Override
    public String toString() {
        return this.type;
    }
}
